/* 购物车 样式 */
* {
    margin: 0;
    padding: 0;
    font-size: 20px;
  }
  
  ul, ol, li {
    list-style: none;
  }
  
  a, a:link, a:active, a:hover {
    text-decoration: none;
    color: #333;
  }
  
  input, button, textarea, select {
    outline: none;
  }
  
  button, select {
    cursor: pointer;
  }
  
  img {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .container {
    width: 1200px;
    margin: 0 auto;
  }
  
  .header {
    height: 60px;
    background-color: #f7460b;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .header > span {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
  }
  
  .header > p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    display: none;
  }
  
  .header > p.active {
    display: block;
  }
  .content {
    margin: 30px auto;
    min-height: 650px;
  }
  
  .content > div {
    display: none;
  }
  
  .content > div.active {
    display: block;
  }
  
  .content > .empty {
    width: 100%;
    height: 650px;
  }
  
  .content > .cart > .top {
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 30px;
    background-color: pink;
  }
  
  .content > .cart > .top > input {
    width: 20px;
    height: 20px;
    margin-left: 20px;
  }
  
  .content > .cart > .center {
    box-sizing: border-box;
    padding: 15px;
  }
  
  .content > .cart > .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 15px;
    height: 40px;
    background-color: pink;
  }
  
  .content > .cart > .center > li {
    display: flex;
    height: 100px;
    border: 1px solid #333;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  
  .content > .cart > .center > li > .select {
    width: 100px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .content > .cart > .center > li > .select > input {
    width: 20px;
    height: 20px;
  }
  
  .content > .cart > .center > li > .show {
    width: 100px;
    height: 100px;
  }
  
  .content > .cart > .center > li > .title {
    width: 300px;
    box-sizing: border-box;
    padding: 3px;
  }
  
  .content > .cart > .center > li > .price,
  .content > .cart > .center > li > .subPrice {
    color: red;
    width: 200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
  }
  
  .content > .cart > .center > li > .number {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .content > .cart > .center > li > .number > button {
    width: 30px;
    height: 30px;
  }
  
  .content > .cart > .center > li > .number > input {
    width: 50px;
    border: none;
    margin: 0 10px;
    text-align: center;
  }
  
  .content > .cart > .center > li > .del {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
    